Optimal. Leaf size=52 \[ \frac {2 a^2}{b c^3 (a-b x)^2}-\frac {4 a}{b c^3 (a-b x)}-\frac {\log (a-b x)}{b c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {45}
\begin {gather*} \frac {2 a^2}{b c^3 (a-b x)^2}-\frac {4 a}{b c^3 (a-b x)}-\frac {\log (a-b x)}{b c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^2}{(a c-b c x)^3} \, dx &=\int \left (\frac {4 a^2}{c^3 (a-b x)^3}-\frac {4 a}{c^3 (a-b x)^2}+\frac {1}{c^3 (a-b x)}\right ) \, dx\\ &=\frac {2 a^2}{b c^3 (a-b x)^2}-\frac {4 a}{b c^3 (a-b x)}-\frac {\log (a-b x)}{b c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 33, normalized size = 0.63 \begin {gather*} -\frac {\frac {2 a (a-2 b x)}{(a-b x)^2}+\log (a-b x)}{b c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 48, normalized size = 0.92
method | result | size |
risch | \(\frac {4 a x -\frac {2 a^{2}}{b}}{c^{3} \left (-b x +a \right )^{2}}-\frac {\ln \left (-b x +a \right )}{b \,c^{3}}\) | \(42\) |
default | \(\frac {-\frac {4 a}{b \left (-b x +a \right )}-\frac {\ln \left (-b x +a \right )}{b}+\frac {2 a^{2}}{b \left (-b x +a \right )^{2}}}{c^{3}}\) | \(48\) |
norman | \(\frac {-\frac {2 a^{2}}{b c}+\frac {4 a x}{c}}{c^{2} \left (-b x +a \right )^{2}}-\frac {\ln \left (-b x +a \right )}{b \,c^{3}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 61, normalized size = 1.17 \begin {gather*} \frac {2 \, {\left (2 \, a b x - a^{2}\right )}}{b^{3} c^{3} x^{2} - 2 \, a b^{2} c^{3} x + a^{2} b c^{3}} - \frac {\log \left (b x - a\right )}{b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.46, size = 69, normalized size = 1.33 \begin {gather*} \frac {4 \, a b x - 2 \, a^{2} - {\left (b^{2} x^{2} - 2 \, a b x + a^{2}\right )} \log \left (b x - a\right )}{b^{3} c^{3} x^{2} - 2 \, a b^{2} c^{3} x + a^{2} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.13, size = 54, normalized size = 1.04 \begin {gather*} - \frac {2 a^{2} - 4 a b x}{a^{2} b c^{3} - 2 a b^{2} c^{3} x + b^{3} c^{3} x^{2}} - \frac {\log {\left (- a + b x \right )}}{b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.93, size = 46, normalized size = 0.88 \begin {gather*} -\frac {\log \left ({\left | b x - a \right |}\right )}{b c^{3}} + \frac {2 \, {\left (2 \, a b x - a^{2}\right )}}{{\left (b x - a\right )}^{2} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.17, size = 59, normalized size = 1.13 \begin {gather*} \frac {4\,a\,x-\frac {2\,a^2}{b}}{a^2\,c^3-2\,a\,b\,c^3\,x+b^2\,c^3\,x^2}-\frac {\ln \left (b\,x-a\right )}{b\,c^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________